//停车记录 - 静态 路由
import { http } from "@/utils/http";
import { baseUrlApi } from "../utils";
import { ResultTable } from "../result/result_table";

const basePath = "parking_record/statistics/";

//进场记录统计
export const StatisticsEntry = (data?: object) => {
  return http.request<ResultTable>("post", baseUrlApi(basePath + "entry"), {
    data
  });
};

//出场记录统计
export const StatisticsOut = (data?: object) => {
  return http.request<ResultTable>("post", baseUrlApi(basePath + "out"), {
    data
  });
};
